package com.feeyo.monitor.enumeration;

/**
 * @Author <a href="mailto:bliulei@variflight.com">liulei</a>
 * @Description Created by liulei on 2019/7/22 下午4:50.
 */
public enum ProtocolType {
    OTHER(0,"接入"),
    JT808(1,"交通部808协议"),
    C1808(2,"三金私有协议"),
    NMEA(3,"NMEA0183协议");

    private int key;
    private String value;

    private ProtocolType(int key, String value) {
        this.key = key;
        this.value = value;
    }

    public int getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
}
